<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>地图插件学习</title>
  <script type="text/javascript" src="https://webapi.amap.com/maps?v=1.4.15
  &key=c10bc2741670cef86232f22bdf9861ca"></script> 
</head>
<body>
  <div id="container" style="height: 500px;"></div>

  <script>
    //初始化地图
     var map = new AMap.Map('container',{
      zoom:18,
      pitch:75,
      viewMode:'30'
     });
     //标注
   
        var marker = new AMap.Marker({
            icon: "//a.amap.com/jsapi_demos/static/demo-center/icons/poi-marker-default.png",
            position: [116.406315,39.908775],
            offset: new AMap.Pixel(-13, -30)
        });
        marker.setMap(map);
    
  </script>
</body>
</html>